/*
 * \brief  Thread state
 * \author Norman Feske
 * \date   2007-07-30
 *
 * This file contains the generic part of the thread state.
 */

/*
 * Copyright (C) 2007-2009 Norman Feske
 * Genode Labs, Feske & Helmuth Systementwicklung GbR
 *
 * This file is part of the Genode OS framework, which is distributed
 * under the terms of the GNU General Public License version 2.
 */

#ifndef _INCLUDE__BASE__THREAD_STATE_H_
#define _INCLUDE__BASE__THREAD_STATE_H_

#include <base/stdint.h>

namespace Genode {

	struct Thread_state
	{
		addr_t ip;   /* instruction pointer */
		addr_t sp;   /* stack pointer       */

		/**
		 * Constructor
		 */
		Thread_state(): ip(0), sp(0) { }
	};
}

#endif /* _INCLUDE__BASE__THREAD_STATE_H_ */
